using System;
using System.Collections.Generic;

namespace Source.Common
{
    [Serializable]
    public class ValidationResult
    {
        public ValidationResult(ValidationResultType validationResultType, string message)
            : this(validationResultType, message, new List<string>())
        {}

        public ValidationResult(ValidationResultType validationResultType, string message, List<string> details)
        {
            Message = message;
            ValidationResultType = validationResultType;
            Details = details;
        }

        public string Message { get; private set; }
        public ValidationResultType ValidationResultType { get; private set; }
        public List<string> Details { get; private set; }
    }
}